<?php

/**
 * Description of User
 *
 * @author Kam
 */
class Application_Model_DbTable_User extends My_Db_Table {

    protected $_name = 'user';
    protected $_primary = 'user_id';

    protected function getMainCodeColumnName() {
        return 'code';
    }

    public function getDefaultRowValues() {
        return array(
            'registraction_active' => 1,
            'admin_active' => 1,
            'remember_me' => null,
            'contact_email' => null,
            'contact_phone' => null,
            'contact_skype' => null,
            'contact_gg' => null,
            'last_login_date' => date(self::DATE_TIME_PATTERN),
        );
    }

}

